#!/usr/bin/env bash
mvn clean package

#.表示从当前目录下找Dockerfile
docker build -t hothotsavage/eureka-server:1.0 .

#推送至hub.docker.com
docker push hothotsavage/eureka-server:1.0